package com.jams.goodox.entity;

import com.google.gson.annotations.SerializedName;
import com.jams.goodox.net.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jams_zhen on 2016/9/24.
 */

public class TenementPayOrderBean extends BaseEntity {

    /**
     * orderNo : SQJF2016102100033
     * totalPrice : 0.03
     * payItem : [{"item":"水电费","address":"绿漫工作室特价苑7幢2单元2901室","monthList":[{"billMonth":"10","billYear":2016,"id":"1","item":"水电费","totalPrice":0.01},{"billMonth":"11","billYear":2016,"id":"3","item":"水电费","totalPrice":0.01},{"billMonth":"12","billYear":2016,"id":"4","item":"水电费","totalPrice":0.01}]}]
     */

    @SerializedName("data")
    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        private String orderNo;
        private double totalPrice;
        /**
         * item : 水电费
         * address : 绿漫工作室特价苑7幢2单元2901室
         * monthList : [{"billMonth":"10","billYear":2016,"id":"1","item":"水电费","totalPrice":0.01},{"billMonth":"11","billYear":2016,"id":"3","item":"水电费","totalPrice":0.01},{"billMonth":"12","billYear":2016,"id":"4","item":"水电费","totalPrice":0.01}]
         */
        private List<PayItemBean> payItem;

        private List<Integer> payType;

        public List<Integer> getPayType() {
            return payType;
        }

        public void setPayType(List<Integer> payType) {
            this.payType = payType;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public double getTotalPrice() {
            return totalPrice;
        }

        public void setTotalPrice(double totalPrice) {
            this.totalPrice = totalPrice;
        }

        public List<PayItemBean> getPayItem() {
            return payItem;
        }

        public void setPayItem(List<PayItemBean> payItem) {
            this.payItem = payItem;
        }

        public static class PayItemBean implements Serializable {
            @SerializedName("item")
            private String item;
            @SerializedName("address")
            private String address;
            /**
             * billMonth : 10
             * billYear : 2016
             * id : 1
             * item : 水电费
             * totalPrice : 0.01
             */

            @SerializedName("monthList")
            private List<MonthListBean> monthList;

            public String getItem() {
                return item;
            }

            public void setItem(String item) {
                this.item = item;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public List<MonthListBean> getMonthList() {
                return monthList;
            }

            public void setMonthList(List<MonthListBean> monthList) {
                this.monthList = monthList;
            }

            public static class MonthListBean implements Serializable {
                @SerializedName("billMonth")
                private String billMonth;
                @SerializedName("billYear")
                private int billYear;
                @SerializedName("id")
                private String id;
                @SerializedName("item")
                private String item;
                @SerializedName("totalPrice")
                private double totalPrice;

                public String getBillMonth() {
                    return billMonth;
                }

                public void setBillMonth(String billMonth) {
                    this.billMonth = billMonth;
                }

                public int getBillYear() {
                    return billYear;
                }

                public void setBillYear(int billYear) {
                    this.billYear = billYear;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getItem() {
                    return item;
                }

                public void setItem(String item) {
                    this.item = item;
                }

                public double getTotalPrice() {
                    return totalPrice;
                }

                public void setTotalPrice(double totalPrice) {
                    this.totalPrice = totalPrice;
                }
            }
        }
    }
}
